ClojureDocs

Nav

Namespaces

Throwable->map

clojure.core

Available since 1.7 (source)
  • (Throwable->map o)
Constructs a data representation for a Throwable with keys:
  :cause - root cause message
  :phase - error phase
  :via - cause chain, with cause keys:
           :type - exception class symbol
           :message - exception message
           :data - ex-data
           :at - top stack element
  :trace - root cause stack elements